package model.goods
{

	public class UserCartGoodsVo
	{
		public var goods:GoodsItemVo;
		
		public var id:int;
		
		
		/**
		 * 商品id
		 */
		public var goodsId:int;
		
		public var addTime:String;
		
		public var goodsCount:int;
		
		/**
		 * 添加时的单价
		 */
		public var addPrice:Number;
		
		public var selected:Boolean = false;
		
		public function UserCartGoodsVo(data:Object)
		{
			if(data != null)
			{
				for(var key in data)
				{
					if(this.hasOwnProperty(key))
						this[key] = data[key];
				}
			}
			
		}
	}
}